<?php
/* @var $this TestController */
/* @var $model Test */
/* @var $form CActiveForm */
?>

<div class="search">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<?php echo $form->label($model,'id'); ?>
	<?php echo $form->textField($model,'id',array('class'=>'input')); ?>

	<?php echo $form->label($model,'name'); ?>
	<?php echo $form->textField($model,'name',array('size'=>50,'maxlength'=>50,'class'=>'input')); ?>

	<?php echo $form->label($model,'nickname'); ?>
	<?php echo $form->textField($model,'nickname',array('size'=>50,'maxlength'=>50,'class'=>'input')); ?>

	<?php echo $form->label($model,'gender'); ?>
	<?php echo $form->textField($model,'gender',array('class'=>'input')); ?>

	<?php echo $form->label($model,'remark'); ?>
	<?php echo $form->textField($model,'remark',array('size'=>60,'maxlength'=>500,'class'=>'input')); ?>

	<?php echo CHtml::submitButton('查 询',array('class'=>'but')); ?>

<?php $this->endWidget(); ?>

</div><!-- search-form -->